import service from '@/utils/request'

export function doLoginApi(data: { account: string; password: string }) {
  return service({
    url: '/api/login',
    method: 'post',
    data
  })
}
